package Message.Game
{
    import Framework.Serialize.*;

    public class SGuildWarehouseApply extends Object
    {
        public var playerId:int;
        public var name:String;
        public var uid:String;
        public var itemCode:int;
        public var amount:int;
        public var state:EGuildWarehouseState;

        public function SGuildWarehouseApply()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.playerId);
            param1.writeString(this.name);
            param1.writeString(this.uid);
            param1.writeInt(this.itemCode);
            param1.writeInt(this.amount);
            this.state.__write(param1);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.playerId = param1.readInt();
            this.name = param1.readString();
            this.uid = param1.readString();
            this.itemCode = param1.readInt();
            this.amount = param1.readInt();
            this.state = EGuildWarehouseState.__read(param1);
            
        }

    }
}
